package com.attendance.security.user.service;

import com.attendance.security.user.pojo.AbstractUserDetails;
import com.attendance.security.user.pojo.UserInfo;

/**
 * 提供Security用户名到系统用户详情信息的转化通道
 *
 * @author 鵺丶
 * @date 2021/03/13
 */
public interface AbstractUserDetailsService {
    /**
     * 通过账户获取用户详细信息
     *
     * @param user 账户
     * @return {@link AbstractUserDetails}
     */
    AbstractUserDetails getUserDetailsForUser(UserInfo user);
}
